package cn.com.zsw.gblog.modules.gblog.entity;

import cn.com.zsw.gblog.modules.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * (gb_posts)实体类
 *
 * @author shiwangzhou
 * @since 2020-06-22 11:29:45
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("gb_posts")
public class GbPostsEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 957831378896405233L;
    /**
     * 是否置顶
     */
    private Integer isTop;
    /**
     * 是否设置为热门
     */
    private Integer isHot;
    /**
     * 发布时间
     */
    private Date publishTime;
    /**
     * 标题
     */
    private String title;
    /**
     * 概要
     */
    private String summary;
    /**
     * 内容
     */
    private String content;
    /**
     * 封面
     */
    private String banner;
    /**
     * 查看数
     */
    private Integer viewsCount;
    /**
     * 评论数
     */
    private Integer commentsCount;

    /**
     * 分类
     */
    private String category;


}